/*
 * Decompiled with CFR 0.150.
 */
package com.gys.data.example;

import com.gys.common.data.GetBaseInData;
import java.io.Serializable;
import java.util.List;

public class GetProductBaseInData
extends GetBaseInData
implements Serializable {
    private static final long serialVersionUID = -8274059234243274401L;
    private Long id;
    private String productName;
    private Integer productNum;
    private List<Long> ids;

    public Long getId() {
        return this.id;
    }

    public String getProductName() {
        return this.productName;
    }

    public Integer getProductNum() {
        return this.productNum;
    }

    public List<Long> getIds() {
        return this.ids;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public void setProductNum(Integer productNum) {
        this.productNum = productNum;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    @Override
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof GetProductBaseInData)) {
            return false;
        }
        GetProductBaseInData other = (GetProductBaseInData)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Long this$id = this.getId();
        Long other$id = other.getId();
        if (this$id == null ? other$id != null : !(this$id).equals(other$id)) {
            return false;
        }
        String this$productName = this.getProductName();
        String other$productName = other.getProductName();
        if (this$productName == null ? other$productName != null : !this$productName.equals(other$productName)) {
            return false;
        }
        Integer this$productNum = this.getProductNum();
        Integer other$productNum = other.getProductNum();
        if (this$productNum == null ? other$productNum != null : !(this$productNum).equals(other$productNum)) {
            return false;
        }
        List<Long> this$ids = this.getIds();
        List<Long> other$ids = other.getIds();
        return !(this$ids == null ? other$ids != null : !(this$ids).equals(other$ids));
    }

    @Override
    protected boolean canEqual(Object other) {
        return other instanceof GetProductBaseInData;
    }

    @Override
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Long $id = this.getId();
        result = result * 59 + ($id == null ? 43 : ($id).hashCode());
        String $productName = this.getProductName();
        result = result * 59 + ($productName == null ? 43 : $productName.hashCode());
        Integer $productNum = this.getProductNum();
        result = result * 59 + ($productNum == null ? 43 : ($productNum).hashCode());
        List<Long> $ids = this.getIds();
        result = result * 59 + ($ids == null ? 43 : ($ids).hashCode());
        return result;
    }

    @Override
    public String toString() {
        return "GetProductBaseInData(id=" + this.getId() + ", productName=" + this.getProductName() + ", productNum=" + this.getProductNum() + ", ids=" + this.getIds() + ")";
    }
}

